#include <ncurses.h>
#include <string>
using namespace std;

void start_ncurses(bool useRaw, bool useNoecho);
void printMenu(WINDOW* menu, string choices[], int size, int highlight);


int main(int argc , char** argv)
{
	initscr();
	noecho();
	cbreak();

	int y, x, yBeg, xBeg, yMax, xMax;
	getmaxyx(stdscr, yMax, xMax);

	WINDOW* win = newwin(3, xMax - 12, yMax - 5, 5);
	box(win, 0, 0);
	refresh();
	wrefresh(win);

	keypad(win, true);
	int c = wgetch(win);
	if (c == KEY_UP) {
		mvwprintw(win, 1, 1, "You pressed up!");
		wrefresh(win);
	}



	getch();

	endwin();
	

	return 0;
}
